package com.ebus.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.ebus.dao.BusLineMapper;
import com.ebus.service.IBusLineService;
import com.ebus.vo.BusLine;

@Service("busLineService")
public class BusLineServiceImpl implements IBusLineService{
	@Resource
    private BusLineMapper busLineMapper;
    
	@Override
	public List<Map<Object, Object>> getResultMap(String busNumber) {
		
		return busLineMapper.getResultMap(busNumber);
	}

	@Override
	public List<BusLine> getBusLineList(String busNumber) {
		return busLineMapper.getBusLineList(busNumber);
	}
  
}
